Home
last modified time | relevance | path

Searched refs:TH_SYN (Results 76 – 100 of 460) sorted by relevance

12345678910>>...19

/dports/net-mgmt/ettercap/ettercap-0.8.3.1/plug-ins/gw_discover/
H A Dgw_discover.c161 …r(h->mac, &EC_GBL_IFACE->ip, &ip, htons(EC_MAGIC_16), htons(port), 0xabadc0de, 0xabadc0de, TH_SYN); in do_discover()
184 if ( !(po->L4.flags & (TH_SYN | TH_ACK)) ) in get_replies()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/slirp/
H A Dtcp_input.c429 if ((tiflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ACK)) != TH_SYN) in tcp_input()
516 (tiflags & (TH_SYN|TH_FIN|TH_RST|TH_URG|TH_ACK)) == TH_ACK && in tcp_input()
623 if ((tiflags & TH_SYN) == 0) in tcp_input()
792 if ((tiflags & TH_SYN) == 0) in tcp_input()
844 if (tiflags & TH_SYN) { in tcp_input()
845 tiflags &= ~TH_SYN; in tcp_input()
905 if (tiflags & TH_SYN && in tcp_input()
962 if (tiflags & TH_SYN) { in tcp_input()
1394 if (tiflags & TH_SYN) ti->ti_len++; in tcp_input()
1436 if (!(ti->ti_flags & TH_SYN)) in tcp_dooptions()
/dports/net/nepenthes/nepenthes-0.2.2/modules/module-honeytrap/
H A DTrapSocket.hpp165 #ifndef TH_SYN
166 #define TH_SYN 0x02 /* synchronize sequence numbers */ macro
H A DTrapSocket.cpp612 if ( tcp->th_flags & TH_SYN && !(tcp->th_flags & TH_ACK) ) in doRecv_IPQ()
656 …if (1 && ( tcp->th_flags & TH_SYN && !(tcp->th_flags & TH_ACK) ) ) // isPortListening(ntohs(tcp->t… in doRecv_IPFW()
766 (tcp->th_flags) & TH_SYN?"SYN":"", in printIPpacket()
787 if ( tcp->th_flags & TH_SYN && !(tcp->th_flags & TH_ACK) ) in createListener()
/dports/net/xprobe/xprobe2-0.3/src/xpmodules/alive_probe/portscanner/
H A Dportscanner.cc282 tcpp.set_flags(TH_SYN); in send_packets()
425 if ((tcp_packet.get_flags() & (TH_SYN|TH_ACK)) == (TH_SYN|TH_ACK)) { in receive_packets()
556 else if (packet.get_flags() & (TH_SYN|TH_ACK)) in analyze_packet()
557 packet_class = TH_SYN|TH_ACK; in analyze_packet()
595 packet_class = TH_SYN|TH_ACK; in analyze_packets()
/dports/security/fragrouter/fragrouter-1.6/
H A Dtcp_seg.c201 htonl(tcph->th_seq * 2), 0, TH_SYN, ntohs(tcph->th_win), in tcp_seg_interleave_syns()
225 if ((tcph->th_flags & TH_SYN) == 0) in tcp_seg_prepend_fakeclose()
279 if ((tcph->th_flags & TH_SYN) == 0) in tcp_seg_prepend_connection()
290 ntohl(tcph->th_seq) * 2, 0, TH_SYN, ntohs(tcph->th_win), in tcp_seg_prepend_connection()
334 if ((tcph->th_flags & TH_SYN) == 0) in tcp_seg_prepend_junk()
H A Dprint.c208 if (tcph->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_PUSH)) { in print_tcp()
209 if (tcph->th_flags & TH_SYN) putchar('S'); in print_tcp()
222 if (len > 0 || tcph->th_flags & (TH_SYN | TH_FIN | TH_RST)) in print_tcp()
/dports/net/dshell/Dshell-502a546/dshell/plugins/portscan/
H A Dtrw.py61 if pkt.tcp_flags == tcp.TH_SYN and pkt.sip not in self.classified_ips:
66 elif pkt.tcp_flags == (tcp.TH_SYN | tcp.TH_ACK) and pkt.dip not in self.classified_ips:
/dports/security/unicornscan/unicornscan-0.4.2/src/scan_progs/
H A Dpackets.h47 #ifndef TH_SYN
48 #define TH_SYN 0x02 /* synchronize sequence numbers */ macro
/dports/net/py-dpkt/dpkt-1.9.6/dpkt/
H A Dtcp.py12 TH_SYN = 0x02 # synchronize sequence numbers variable
40 ('flags', 'B', TH_SYN),
/dports/security/nmap/nmap-7.91/libnetutil/
H A DTCPHeader.cc631 u8 prev = h.th_flags & TH_SYN; in setSYN()
632 h.th_flags |= TH_SYN; in setSYN()
640 u8 prev = h.th_flags & TH_SYN; in unsetSYN()
641 h.th_flags ^= TH_SYN; in unsetSYN()
648 return h.th_flags & TH_SYN; in getSYN()
/dports/misc/rump/buildrump.sh-b914579/src/sys/netinet/
H A Dtcp_input.c1015 if (tiflags & TH_SYN) { in tcp_vtw_input()
1016 tiflags &= ~TH_SYN; in tcp_vtw_input()
1105 if ((tiflags & TH_SYN) in tcp_vtw_input()
1193 if (tiflags & TH_SYN) in tcp_vtw_input()
1452 (tiflags & (TH_RST|TH_ACK|TH_SYN)) == TH_SYN) { in tcp_input()
1498 (tiflags & (TH_RST|TH_ACK|TH_SYN)) == TH_SYN) { in tcp_input()
1668 if ((tiflags & (TH_RST|TH_ACK|TH_SYN)) != TH_SYN) { in tcp_input()
2357 if (tiflags & TH_SYN) { in tcp_input()
2358 tiflags &= ~TH_SYN; in tcp_input()
2551 if (tiflags & TH_SYN) { in tcp_input()
[all …]
/dports/net/thcrut/thcrut-1.2.5/src/
H A Dpackets.c37 TH_SYN, in scanner_gen_packets()
61 TH_SYN, in scanner_gen_packets()
/dports/security/fragroute/fragroute-1.2/
H A Dmod_print.c66 if (tcp->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_PUSH)) { in _print_tcp()
67 if (tcp->th_flags & TH_SYN) putchar('S'); in _print_tcp()
80 if (len > 0 || tcp->th_flags & (TH_SYN | TH_FIN | TH_RST)) in _print_tcp()
/dports/security/suricata/suricata-6.0.4/src/
H A Dstream-tcp.c921 } else if ((p->tcph->th_flags & (TH_SYN|TH_ACK)) == (TH_SYN|TH_ACK)) { in StreamTcpPacketStateNone()
1454 } else if ((p->tcph->th_flags & (TH_SYN|TH_ACK)) == (TH_SYN|TH_ACK)) { in StreamTcpPacketStateSynSent()
1795 } else if ((p->tcph->th_flags & (TH_SYN|TH_ACK)) == (TH_SYN|TH_ACK)) { in StreamTcpPacketStateSynRecv()
2608 } else if ((p->tcph->th_flags & (TH_SYN|TH_ACK)) == (TH_SYN|TH_ACK)) { in StreamTcpPacketStateEstablished()
4819 if ((p->tcph->th_flags & (TH_SYN|TH_ACK)) == (TH_SYN|TH_ACK)) { in StreamTcpPacket()
6448 tcph.th_flags = TH_SYN; in StreamTcpTest02()
7043 tcph.th_flags = TH_SYN; in StreamTcpTest10()
7667 tcph.th_flags = TH_SYN; in StreamTcp4WHSTest01()
7749 tcph.th_flags = TH_SYN; in StreamTcp4WHSTest02()
7819 tcph.th_flags = TH_SYN; in StreamTcp4WHSTest03()
[all …]
/dports/net-mgmt/darkstat/darkstat-3.0.719/
H A Dacct.c167 (sm->tcp_flags & TH_SYN)?"S":"", in acct_for()
246 if (sm->tcp_flags == TH_SYN) in acct_for()
260 if (sm->tcp_flags == TH_SYN) in acct_for()
/dports/net-mgmt/p5-Cflow/Cflow-1.053/
H A DCflow.pm25 $Cflow::TH_SYN = 0x02;
33 SYN => $Cflow::TH_SYN,
391 $TH_SYN
/dports/net/honeyd/honeyd-1.5c/
H A Dosfp.c231 if ((tcp->th_flags & (TH_SYN|TH_ACK)) != TH_SYN) in honeyd_osfp_input()
/dports/net/xprobe/xprobe2-0.3/libs-external/USI++/usi++/
H A Dusi-structs.h312 #ifndef TH_SYN
313 #define TH_SYN 0x02 macro
/dports/ftp/ftpsesame/ftpsesame-0.95/
H A Dfilter.c87 pfr.rule.flags = TH_SYN; in filter_init()
88 pfr.rule.flagset = (TH_SYN|TH_ACK|TH_FIN|TH_RST); in filter_init()
/dports/net/scamper/scamper-cvs-20211026/scamper/tbit/
H A Dscamper_tbit.c139 if((pkt->data[iphlen+13] & (TH_SYN|TH_ACK)) != (TH_SYN|TH_ACK)) in scamper_tbit_fo_getcookie()
495 (pkt->data[iphlen+13] & (TH_SYN|TH_ACK)) != (TH_SYN|TH_ACK)) in scamper_tbit_icw_size()
571 if((pkt->data[iphlen+13] & (TH_SYN|TH_ACK)) != (TH_SYN|TH_ACK)) in scamper_tbit_stats()
/dports/net/xprobe/xprobe2-0.3/libs-external/USI++/samples/
H A Dsyn.cc29 tcp.set_flags(TH_SYN); in main()
H A Dsynping.cc28 tcp.set_flags(TH_SYN|TH_ACK); in main()
/dports/net-mgmt/argus3-clients/argus-clients-3.0.8.3/include/cygwin-include/netinet/
H A Dtcp.h38 #define TH_SYN 0x02 macro
/dports/net-mgmt/bpft/bpft/linux-include/netinet/
H A Dtcp.h32 #define TH_SYN 0x02 macro

12345678910>>...19